<include file="Public/head"/>
<body class="no-skin">
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>
        <div class="main-content-inner">
            <div class="page-content">
                <div class="row">
                <div class="cf">
                           <h2 class=" text-center">幼儿园进账详情 </h2>
                 </div>
                 <div>
                           <h5>幼儿园名称：{$data[0]['m_name']}</h5>
                           <h5>时&nbsp;&nbsp;&nbsp;&nbsp;间&nbsp;&nbsp;&nbsp;&nbsp;段：{$dateS}&nbsp;至&nbsp;{$dateE}</h5>
                 </div>
                 <div class="space-4"></div>
                 
                    <div class="space-4"></div>
                      <table class="table table-striped table-bordered">
                            <thead>
                            <tr>
                                <th>ID</th>
                                <th>用户名称</th>
                                <th>报名人名称</th>
                                <th>报名学校</th>
                                <th>报名班级</th>
                                <th>报名金额</th>
                                <th>是否支付</th>
                                <th>报名时间</th>
                            </tr>
                            </thead>
                            <tbody>

                            <?php if($data){
                                foreach($data as $k=>$val){ ?>
                                 <tr>
                                     <td><?php echo $k+1?></td>
                                     <td><?php echo $val['u_name']?></td>
                                     <td><?php echo $val['b_name']?></td>
                                     <td><?php echo $val['m_name']?></td>
                                     <td><?php echo $val['c_name']?></td>
                                     <td><?php echo $val['price']?></td>
                                     <td><if condition=" $val['is_pay'] eq 1 ">已支付<else/>未支付</if></td>
                                     <td><?php echo $val['add_time']?></td>
                                </tr>
                            </foreach>
                            <?php }}else{echo "<tr align='center'><td colspan='9'>没有报名记录！</td></tr>";}?>
                            </tbody>
                        </table>
                    {$page}
                    <!--endprint1-->
                    <!-- PAGE CONTENT ENDS -->
                </div><!-- /.col -->
            </div><!-- /.row -->
        </div><!-- /.page-content -->
<include file="Public/footerjs"/>
<!-- inline scripts related to this page -->
<script type="text/javascript">
window.print();
history.back();
</script>
</body>
</html>
